import java.util.Scanner;

public class Test2 {
    public static void main(String[] args) {
//      2.银行取款
        Scanner sc = new Scanner(System.in);
        System.out.println("请设置用户名");
        String username = sc.next();
        System.out.println("请设置密码");
        String password = sc.next();
        System.out.println("注册成功");
        System.out.println("欢迎进入银行服务系统");
        System.out.println("请输入登录账户用户名");
        String uname = sc.next();
        String pword = sc.next();
        if(uname.equals(username) && pword.equals(password)){
            System.out.println("菜单");
            System.out.println("1.查看余额");
            System.out.println("2.取款");
            System.out.println("3.存款");
        }else {
            System.out.println("输入错误，卡片已经锁定");
        }
    }
}
